<template>
    <div class="vheader-title">
    <van-nav-bar
            class="myOrder-header"
            :title="title"
            left-text="返回"
            left-arrow
            fixed
            @click-left="$router.back()"
    />
    </div>
</template>
<script>
    export default {
        name: 'Header',
        props: {
            title: String,
        }
    }
</script>
<style lang="scss" scoped>
    .vheader-title {
        height: 46px;
    }
    .myOrder-header{
        background-color:#383746;
        .van-nav-bar__title, .van-nav-bar__text {
            color: white;
        }
        .van-icon {
            color: white;
        }
    }
</style>